package com.rongc.client.freight.business.supply.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.rongc.client.core.network.api.AbsRequest;
import com.rongc.client.core.network.params.BaseParams;
import com.rongc.client.freight.ApiUrl;

import org.json.JSONObject;


/*
*  发布车源后推荐货源
* */

public class SupplyFindApi extends AbsRequest<SupplyFindApi.SupplyFindParams, JSONObject> {

    public SupplyFindApi(SupplyFindParams feedbackParams, Listener<JSONObject> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getFindGoodsUrl(), feedbackParams, listener, errorListener, JSONObject.class);
    }

    public static class SupplyFindParams extends BaseParams {

        public SupplyFindParams(String trucksId,String page) {
            put("trucksId",trucksId);
            put("page",page);
        }
    }


}
